import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import common from './modules/common/index'
import workOrderList from './modules/workOrderList/index'
import my from './modules/my/index'
// 扫码页面
import scan from './modules/scan/index'
// 首页
import index from './modules/index/index'
Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		index,
		scan,
		common,
		workOrderList,
		my
	},
	getters
})
export default store
